package com.feib.soeasy.dao;

import java.util.List;

import com.feib.soeasy.model.PayerTemp;
import com.feib.soeasy.model.UploadFile;
import com.feib.soeasy.pagination.PaginatedList;

/**
 * @title (#)PayerTempDao.java<br>
 * @description <br>
 * @author Anson Tsai<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/2/12 create by Anson Tsai<br>
 */
public interface PayerTempDao extends HibernateDao<PayerTemp, Long> {

    public List<PayerTemp> getPayerTempNoConfirm(String groupNo, String payerNo);
    
    public PaginatedList<PayerTemp> getPayerTempNoConfirm(PaginatedList<PayerTemp> paginationConfig);

    /**
     * @param uploadFilePk
     * @return
     */
    public List<PayerTemp> findByUploadFilePk(Long uploadFilePk);

    /**
     * @param uploadFilePk
     */
    public void deleteByUploadFilePk(Long uploadFilePk);

    /**
     * @param payerTemp
     * @param paginationConfig
     * @return
     */
    public PaginatedList<PayerTemp> findByPayerTemp(PayerTemp payerTemp, PaginatedList<PayerTemp> paginationConfig);

    //add by jeff 

    public void addPayerTemp(List<PayerTemp> payerTemps) ;
        
    //add by jeff 

    public void deletePayerTemp(UploadFile uploadFile);
    
    public List<PayerTemp> getPayerTempNoConfirmByGroupPK(Long groupPk, String payerNo);

}
